﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HotelManagerComm.CommHelper
{
    /// <summary>
    /// 抽象常量类
    /// </summary>
    public abstract class CommConst
    {

        /// <summary>
        /// 酒店欢迎字符串
        /// </summary>
        public const string WelcomsTime = "欢迎使用酒店管理系统 当前时间是:";
        /// <summary>
        /// 验证码字符串
        /// </summary>
        protected const string AllChar = "0,1,2,3,4,5,6,7,8,9,q,w,e,r,t,y,u,i,o,p,a,s,d,f,g,h,j,k,l,z,x,c,v,b,n,m";
     
        /// <summary>
        /// 输入有误
        /// </summary>
        public const string InputFalse = "输入有误";

        #region 验证码字体

        /// <summary>
        /// 验证码字体
        /// </summary>
        protected const string FtName = "微软雅黑";

        #endregion

        #region 验证码字体大小

        /// <summary>
        /// 验证码字体大小
        /// </summary>
        protected const int FtSize = 12;

        #region 验证码的位数

        /// <summary>
        /// 验证码的位数
        /// </summary>
        public const int CodeLength = 1;

        #endregion

        #region 验证码位图的宽度和高度

        /// <summary>
        /// 宽度
        /// </summary>
        protected const int BitMapWidth = 84;
        /// <summary>
        /// 高度
        /// </summary>
        protected const int BitMapHeight = 28;

        #endregion

        #endregion

        #region 对话框标题内容

        /// <summary>
        /// 对话框标题内容
        /// </summary>
        protected const string Caption = "信息提示";

        #endregion

        #region 验证码输入有误

        /// <summary>
        /// 验证码输入有误
        /// </summary>
        public const string VerifyErr = "验证码输入有误";

        #endregion

        #region 输入有误

        /// <summary>
        /// 输入有误
        /// </summary>
        public const string InputFail = "输入有误";

        #endregion

        #region 连接对象不能为空

        public const string ConnNotNull = "连接对象不能为空";

        #endregion


        #region 登录失败

        public const string LoginFail = "登录失败";

        #endregion

        #region 两次密码输入不一致

        public const string RePassFalse = "两次密码输入不一致";

        #endregion

        #region 原始密码不正确

        public const string OldPassFalse = "原始密码不正确";

        #endregion

        #region 密码更新成功

        public const string UpdatePwdTrue = "密码更新成功";

        #endregion

        #region 密码更新失败

        public const string UpdatePwdFalse = "密码更新失败";

        #endregion

        #region 您确定要退出系统吗

        public const string QuitSystem = "您确定要退出系统吗?";

        #endregion

        #region 改名称已经存在

        public const string IsExistsInfo = "名称已经存在";

        #endregion

        #region 新增成功

        public const string SaveDataSuccess = "新增成功";

        #endregion

        #region 新增失败

        public const string SaveDataFail = "新增失败";

        #endregion

        #region 更新成功

        public const string UpdateDataSuccess = "更新成功";

        #endregion


        #region 更新失败

        public const string UpdateDataFail = "更新失败";

        #endregion

        #region 删除成功

        public const string DeleteDataSuccess = "删除成功";

        #endregion


        #region 删除失败

        public const string DeleteDataFail = "删除失败";

        #endregion

        #region 修改

        public const string CharUpdate = "修改";

        #endregion

        #region 修改读者类别

        public const string CharUpdateReaderType = "修改读者类别";

        #endregion

        #region 修改图书类别

        public const string CharUpdateBookType = "修改图书类别";

        #endregion

        #region 修改图书信息

        public const string BookInfoCaption = "修改图书信息";

        #endregion



        #region 删除字符

        public const string CharDelete = "删除";

        #endregion

        #region 你确定要删除数据吗

        public const string IsDeleteData = "你确定要删除数据吗？";

        #endregion

        #region 读者编码前缀字符

        public const string PrefixReaderNumber = "RU";

        #endregion

        #region 图书编码前缀字符

        public const string PrefixBookNumber = "BI";

        #endregion


        #region 读者编码长度

        public const int ReaderNumberLen = 11;

        #endregion

        #region 性别

        public const string Male = "男";
        public const string Female = "女";

        #endregion

        #region 图书数量不足

        public const string NotEnoughBook = "图书数量不足";

        #endregion

        #region 请先还该类图书然后借阅

        public const string ReturnBookMsg = "请先还该类图书然后借阅";

        #endregion

        #region 是否归还

        public const string AlreadyReturn = "已经归还";
        public const string NotReturn = "还未归还";

        #endregion
    }
}
